package com.graduation.rescuematerial.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.graduation.rescuematerial.pojo.ApplyMaterial;
import com.graduation.rescuematerial.vo.ApplyMaterialVo;
import com.graduation.rescuematerial.vo.DeliverVo;
import com.graduation.rescuematerial.vo.FuzzyOrderQueryVo;
import com.graduation.rescuematerial.vo.RespBean;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author CaiShuangLian
 * @since 2022-04-22
 */
public interface ApplyMaterialService extends IService<ApplyMaterial> {

    RespBean getAll();

    RespBean unionQuery(FuzzyOrderQueryVo fuzzyOrderQueryVo);

    //组织端申请物资
    RespBean applyMaterial(ApplyMaterialVo applyMaterialVo);

//    //组织端查看待处理申请
//    RespBean checkList(String companyName,String orderStatus);

    //查看我的订单
    RespBean getAppletOrder(String companyName,Long phone,String status);

    //修改订单状态
    RespBean updateStatus(String companyType, Integer orderId);

    RespBean deliver(DeliverVo deliverVo,Long phone);

    //确认收货
    RespBean receiving(Long userPhone,Integer id);

    //web——数据统计
    RespBean getOrderStatistics(String companyName);
}
